.PHONY:all
all:udp_server udp_client
udp_sever:main.cc
	g++ -o $@ $^ -std=c++14
udp_client:udpclient.cc
	g++ -o $@ $^ -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -f udp_sever